<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>零点demo</title>
    <style>

        *{
            box-sizing: border-box;
            margin: 0px;
            left: 0px;
        }
        .options{
            width: 200px;
            position: absolute;
            bottom: 0px;
            right: 0px;
            background-color: rgba(129, 167, 135, 0);
            margin: 10px;
            z-index: 10;
        }
        .btn{
            width: 60px;
            height: 30px;
            background-color: rgb(174, 129, 216);
            text-align: center;
            line-height: 30px;
            color: white;
            border-radius: 30px;
            cursor: pointer;
        }
        .btn:hover{
            background-color: rgb(167, 108, 223); 
        }
        #title{
            cursor: pointer;
            margin: 10px 0px;
            color: rgb(154, 92, 212);
        }
    </style>
</head>
<body>
    <canvas id="main">
    </canvas>
    <div class="options">
        <div id="title">

        </div>
        <div class="btn" onclick="handleSwitch()">
            切换
        </div>
    </div>
    <script src="./js/jquery-2.1.4.min.js"></script>
    <script src="./js/wordcloud2.js"></script>
    <script src="./js/main.js"></script>
</body>
</html>